package com.huilink.webmail.service.api;

import java.util.concurrent.Executor;

import org.apache.commons.mail.Email;

import com.huilink.db.WebMailDAO;

public interface WebMailService extends WebMailFactory {

	public void start();
	
	public void stop();
	
	public void addWebMailServiceListener(WebMailServiceListener l);
	
	public void removeWebMailServiceListener(WebMailServiceListener l);

	public void setDB(WebMailDAO webMailDao);
	
	public void setExecutor(Executor executor);
	
	public void setEmailService(Email mail);
	
	
}
